
package cn.yunyichina.provider.clinic.payrefund.vo;

import org.springframework.beans.BeanUtils;

import cn.yunyichina.provider.clinic.payrefund.entity.PayAli;
import cn.yunyichina.provider.clinic.payrefund.entity.PayWechat;


public class PayParamsVo {

  
    private Integer tradeMode;
    
    private Integer tradeModeyb;

    public Integer getTradeModeyb() {
        return tradeModeyb;
    }

    public void setTradeModeyb(Integer tradeModeyb) {
        this.tradeModeyb = tradeModeyb;
    }

    
    protected String totalFee;

    
    private String orderNo;

    private String appId;

    private String appCode;

    
    private String parentAppId;

   
    private String parentSecret;

    
    private String mchId;

   
    private String key;

    
    private String openId;

    
    private String userId;

    
    private String successUrl;

    
    private String infoUrl;

    
    private String notifyUrl;

    
    private String afterPayUrl;

    
    private Integer onlinePaymentControl;

    
    private Long payTimeoutTime;

    
    private String subject;

    
    private String payRemark;

    
    private String publicKey;
    
    private String privateKey;

    
    private String mchAccount;

    
    private String merchantUrl;
    
    private String mchOpenId;

    
    private String subMchId;

    
    private String spbillCreateIp;

    
    private String secret;

    
    private String prepayId;
    
    private String paySign;
    
    private String attach;

   
    private String nonceStr;
    private String org_no;

    
    private String org_name;
    
	
	private String sSFeeNo;
	
	private String sSBillNo;
	
	private String cancelSerialNo;
	
	private String cancelBillNo;
	
    public String getsSFeeNo() {
		return sSFeeNo;
	}

	public void setsSFeeNo(String sSFeeNo) {
		this.sSFeeNo = sSFeeNo;
	}

	public String getsSBillNo() {
		return sSBillNo;
	}

	public void setsSBillNo(String sSBillNo) {
		this.sSBillNo = sSBillNo;
	}

	public String getCancelSerialNo() {
		return cancelSerialNo;
	}

	public void setCancelSerialNo(String cancelSerialNo) {
		this.cancelSerialNo = cancelSerialNo;
	}

	public String getCancelBillNo() {
		return cancelBillNo;
	}

	public void setCancelBillNo(String cancelBillNo) {
		this.cancelBillNo = cancelBillNo;
	}

	public String getOrg_no() {
        return org_no;
    }

    public void setOrg_no(String org_no) {
        this.org_no = org_no;
    }

    
    private String ssBillNumber;

    public String getSsBillNumber() {
        return ssBillNumber;
    }

    public void setSsBillNumber(String ssBillNumber) {
        this.ssBillNumber = ssBillNumber;
    }


    public String getOrg_name() {
        return org_name;
    }

    public void setOrg_name(String org_name) {
        this.org_name = org_name;
    }

    
    private String notifyMethodName;

    
    protected Integer orderInfoHeight;

    public PayParamsVo() {
        super();
    }

    public Integer getTradeMode() {
        return tradeMode;
    }

    public void setTradeMode(Integer tradeMode) {
        this.tradeMode = tradeMode;
    }

    public String getOrderNo() {
        return orderNo;
    }

    public void setOrderNo(String orderNo) {
        this.orderNo = orderNo;
    }

    public String getParentAppId() {
        return parentAppId;
    }

    public void setParentAppId(String parentAppId) {
        this.parentAppId = parentAppId;
    }

    public String getParentSecret() {
        return parentSecret;
    }

    public void setParentSecret(String parentSecret) {
        this.parentSecret = parentSecret;
    }

    public String getAppId() {
        return appId;
    }

    public void setAppId(String appId) {
        this.appId = appId;
    }

    public String getMchId() {
        return mchId;
    }

    public void setMchId(String mchId) {
        this.mchId = mchId;
    }

    public String getKey() {
        return key;
    }

    public void setKey(String key) {
        this.key = key;
    }

    public String getOpenId() {
        return openId;
    }

    public void setOpenId(String openId) {
        this.openId = openId;
    }

    public String getSuccessUrl() {
        return successUrl;
    }

    public void setSuccessUrl(String successUrl) {
        this.successUrl = successUrl;
    }

    public String getInfoUrl() {
        return infoUrl;
    }

    public void setInfoUrl(String infoUrl) {
        this.infoUrl = infoUrl;
    }

    public String getNotifyUrl() {
        return notifyUrl;
    }

    public void setNotifyUrl(String notifyUrl) {
        this.notifyUrl = notifyUrl;
    }

    public String getAfterPayUrl() {
        return afterPayUrl;
    }

    public void setAfterPayUrl(String afterPayUrl) {
        this.afterPayUrl = afterPayUrl;
    }

    public Integer getOnlinePaymentControl() {
        return onlinePaymentControl;
    }

    public void setOnlinePaymentControl(Integer onlinePaymentControl) {
        this.onlinePaymentControl = onlinePaymentControl;
    }

    public Long getPayTimeoutTime() {
        return payTimeoutTime;
    }

    public void setPayTimeoutTime(Long payTimeoutTime) {
        this.payTimeoutTime = payTimeoutTime;
    }

    public String getSubject() {
        return subject;
    }

    public void setSubject(String subject) {
        this.subject = subject;
    }

    public String getPayRemark() {
        return payRemark;
    }

    public void setPayRemark(String payRemark) {
        this.payRemark = payRemark;
    }

    public String getPublicKey() {
        return publicKey;
    }

    public void setPublicKey(String publicKey) {
        this.publicKey = publicKey;
    }

    public String getPrivateKey() {
        return privateKey;
    }

    public void setPrivateKey(String privateKey) {
        this.privateKey = privateKey;
    }

    public String getMchAccount() {
        return mchAccount;
    }

    public void setMchAccount(String mchAccount) {
        this.mchAccount = mchAccount;
    }

    public String getMerchantUrl() {
        return merchantUrl;
    }

    public void setMerchantUrl(String merchantUrl) {
        this.merchantUrl = merchantUrl;
    }

    public String getMchOpenId() {
        return mchOpenId;
    }

    public void setMchOpenId(String mchOpenId) {
        this.mchOpenId = mchOpenId;
    }

    public String getSubMchId() {
        return subMchId;
    }

    public void setSubMchId(String subMchId) {
        this.subMchId = subMchId;
    }

    public String getSpbillCreateIp() {
        return spbillCreateIp;
    }

    public void setSpbillCreateIp(String spbillCreateIp) {
        this.spbillCreateIp = spbillCreateIp;
    }

    public String getSecret() {
        return secret;
    }

    public void setSecret(String secret) {
        this.secret = secret;
    }

    public String getPrepayId() {
        return prepayId;
    }

    public void setPrepayId(String prepayId) {
        this.prepayId = prepayId;
    }

    public String getPaySign() {
        return paySign;
    }

    public void setPaySign(String paySign) {
        this.paySign = paySign;
    }

    public String getAttach() {
        return attach;
    }

    public void setAttach(String attach) {
        this.attach = attach;
    }

    public String getAppCode() {
        return appCode;
    }

    public void setAppCode(String appCode) {
        this.appCode = appCode;
    }

    public String getTotalFee() {
        return totalFee;
    }

    public void setTotalFee(String totalFee) {
        this.totalFee = totalFee;
    }

    public String getNonceStr() {
        return nonceStr;
    }

    public void setNonceStr(String nonceStr) {
        this.nonceStr = nonceStr;
    }

    public String getNotifyMethodName() {
        return notifyMethodName;
    }

    public void setNotifyMethodName(String notifyMethodName) {
        this.notifyMethodName = notifyMethodName;
    }

    /**
     * 转化为微信支付信息
     *
     * @return
     */
    public PayWechat convertPayWechat() {
        PayWechat pay = new PayWechat();
        BeanUtils.copyProperties(this, pay);
        return pay;
    }

    /**
     * 转化为支付宝支付信息
     *
     * @return
     */
    public PayAli convertPayAli() {
        PayAli pay = new PayAli();
        BeanUtils.copyProperties(this, pay);
        return pay;
    }

    public Integer getOrderInfoHeight() {
        return orderInfoHeight;
    }

    public void setOrderInfoHeight(Integer orderInfoHeight) {
        this.orderInfoHeight = orderInfoHeight;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    /****************** 新增预结算所需参数 - start ******************/
    /**
     * 诊疗卡类型
     */
    private String patCardType;
    /**
     * 诊疗卡号
     */
    private String patCardNo;
    /**
     * 缴费项唯一标识
     */
    private String mzFeeId;
    /**
     * 门诊业务单据号
     */
    private String mzBillId;
    /**
     * 接诊科室代码
     */
    private String deptCode;
    /**
     * 接诊医生代码
     */
    private String doctorCode;

    public String getPatCardType() {
        return patCardType;
    }

    public void setPatCardType(String patCardType) {
        this.patCardType = patCardType;
    }

    public String getPatCardNo() {
        return patCardNo;
    }

    public void setPatCardNo(String patCardNo) {
        this.patCardNo = patCardNo;
    }

    public String getMzFeeId() {
        return mzFeeId;
    }

    public void setMzFeeId(String mzFeeId) {
        this.mzFeeId = mzFeeId;
    }

    public String getMzBillId() {
        return mzBillId;
    }

    public void setMzBillId(String mzBillId) {
        this.mzBillId = mzBillId;
    }

    public String getDeptCode() {
        return deptCode;
    }

    public void setDeptCode(String deptCode) {
        this.deptCode = deptCode;
    }

    public String getDoctorCode() {
        return doctorCode;
    }

    public void setDoctorCode(String doctorCode) {
        this.doctorCode = doctorCode;
    }
  

}
